package com.example.dishit.model.dbproxy.data;

public class UserInfo {

	private String userName;
	private String password;
	private static UserInfo me;

	private UserInfo() {
	}

	private void setUserName(String userName) {
		this.userName = userName;
	}

	private void setPassword(String password) {
		this.password = password;
	}

	public String getUserName() {
		return userName;
	}

	public String getPassword() {
		return password;
	}

	public static UserInfo GetUserInfoObject(String userName, String password) {
		if (me == null) {
			me = new UserInfo();
			me.setUserName(userName);
			me.setPassword(password);
		}
		return me;
	}
}
